<div class="dashboard-item">
	<h4 class="item-title" data-toggle="toggle">
		<?php echo $title; ?>
		<?php if(isset($badge)): ?>
			<span class="badge pull-right"><?php echo $badge; ?></span>
		<?php endif; ?>
	</h4>
	<div class="item-content">
		<?php 
			if(!is_array($content)):
				echo $content;
			else:
				if(count($content) == 0):
					echo "No contents";
				else:
				foreach($content as $item):
		?>
		<p>
			<?php echo word_limiter($item->post_title,8); ?> - 
			<a href="<?php echo site_url('admin/post_edit/'.$item->ID); ?>" class="link">Edit</a>
		</p>
		<?php endforeach; endif; endif; ?>
	</div>
</div>